package com.bestsoft.flow.domain;

import com.bestsoft.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 用户订单汇总对象 flow_order_mt
 *
 * @author 王识宇
 * @date 2023-08-28
 */

public class FlowOrderMt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据ID */
    private Long orderId;

    /** 单据号 */
    private String billcode;

    /** 订单日期 */
    private String dates;

    /** 时间 */
    private String ontime;

    /** 客户ID */
    private String clientid;

    /** 订单金额 */
    private BigDecimal ordertaxamount;

    /** 优惠金额 */
    private BigDecimal discount;

    /** 运费 */
    private BigDecimal postamt;

    /** 实付款 */
    private BigDecimal paidinamt;

    /** 运送方式 */
    private String shipping;

    /** 收货人 */
    private String contact;

    /** 收货人电话 */
    private String mobile;

    /** 收货地址 */
    private String address;

    /** 订单状态 */
    private String state;

    /** 用户订单明细信息 */
    private FlowOrderDt flowOrderDtList;

    public FlowOrderDt getFlowOrderDtList() {
        return flowOrderDtList;
    }

    public void setFlowOrderDtList(FlowOrderDt flowOrderDtList) {
        this.flowOrderDtList = flowOrderDtList;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setBillcode(String billcode)
    {
        this.billcode = billcode;
    }

    public String getBillcode()
    {
        return billcode;
    }
    public void setDates(String dates)
    {
        this.dates = dates;
    }

    public String getDates()
    {
        return dates;
    }
    public void setOntime(String ontime)
    {
        this.ontime = ontime;
    }

    public String getOntime()
    {
        return ontime;
    }
    public void setClientid(String clientid)
    {
        this.clientid = clientid;
    }

    public String getClientid()
    {
        return clientid;
    }
    public void setOrdertaxamount(BigDecimal ordertaxamount)
    {
        this.ordertaxamount = ordertaxamount;
    }

    public BigDecimal getOrdertaxamount()
    {
        return ordertaxamount;
    }
    public void setDiscount(BigDecimal discount)
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount()
    {
        return discount;
    }
    public void setPostamt(BigDecimal postamt)
    {
        this.postamt = postamt;
    }

    public BigDecimal getPostamt()
    {
        return postamt;
    }
    public void setPaidinamt(BigDecimal paidinamt)
    {
        this.paidinamt = paidinamt;
    }

    public BigDecimal getPaidinamt()
    {
        return paidinamt;
    }
    public void setShipping(String shipping)
    {
        this.shipping = shipping;
    }

    public String getShipping()
    {
        return shipping;
    }
    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("billcode", getBillcode())
            .append("dates", getDates())
            .append("ontime", getOntime())
            .append("clientid", getClientid())
            .append("ordertaxamount", getOrdertaxamount())
            .append("discount", getDiscount())
            .append("postamt", getPostamt())
            .append("paidinamt", getPaidinamt())
            .append("shipping", getShipping())
            .append("contact", getContact())
            .append("mobile", getMobile())
            .append("address", getAddress())
            .append("state", getState())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("flowOrderDtList", getFlowOrderDtList())
            .toString();
    }
}
